/**
 * Client.java
 * @author taowei20061122@163.com
 * 2013-6-14 下午5:08:38
 */
package study.designpattern.prototype;

import study.designpattern.prototype.impl.PersonalOrder;

/**
 * Client.java
 * @author taowei20061122@163.com
 * 2013-6-14 下午5:08:38
 */
public class Client {

	public static void main(String[] args) {
		//创建订单对象
		PersonalOrder po = new PersonalOrder();
		// 设置订单数据
		po.setCustomerName("taowei");
		po.setOrderProductNum(2356);
		po.setProductId("P001");
		
		// 获取业务处理类
		OrderBusiness oBusiness = new OrderBusiness();
		oBusiness.saveOrder(po);
	}

}
